package com.quxiang.pay.service;

import com.quxiang.pay.model.PayCallbackModel;
import com.quxiang.pay.model.PayModel;
import com.quxiang.pay.model.ProductModel;
import com.quxiang.pay.model.ResponseModel;

public interface PayService {

	// 参数检查
	int checkOrderParams(ProductModel product, ResponseModel<PayModel> response);

	int makePayOrder(ProductModel product, ResponseModel<PayModel> response, String ip);

	int doCallbackCymj(PayCallbackModel payCallback) throws Exception;
	
	int doCallbackXunle(PayCallbackModel payCallback) throws Exception;

	int userCancel(int orderId);

	int doCallbackMaque(PayCallbackModel payCallback) throws Exception;

}
